QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    dialogutil.cpp \
    lalrworker.cpp \
    main.cpp \
    mainwindow.cpp \
    partLalr/FourthTuple.cpp \
    partLalr/Tree.cpp \
    partLalr/analyseRecord.cpp \
    partLalr/astTreeNode.cpp \
    partLalr/attrFormatTree.cpp \
    partLalr/globals.cpp \
    partLalr/lalr.cpp \
    partLalr/myalgor.cpp \
    partLalr/production.cpp \
    partLalr/readUtil.cpp \
    partLalr/util.cpp \
    partRe/reToDfaAlgor.cpp \
    reworker.cpp \
    waitdialog.cpp

HEADERS += \
    dialogutil.h \
    lalrworker.h \
    mainwindow.h \
    partLalr/FourthTuple.h \
    partLalr/Tree.h \
    partLalr/analyseRecord.h \
    partLalr/astTreeNode.h \
    partLalr/attrFormatTree.h \
    partLalr/globals.h \
    partLalr/lalr.h \
    partLalr/myalgor.h \
    partLalr/production.h \
    partLalr/readUtil.h \
    partLalr/util.h \
    partRe/Base.hpp \
    partRe/BuildFromDFA.hpp \
    partRe/MyObject.hpp \
    partRe/NFAToDFA.hpp \
    partRe/NfaDfaRecord.hpp \
    partRe/func_read.hpp \
    partRe/libs.hpp \
    partRe/reToDfaAlgor.h \
    partRe/reToNFA.hpp \
    reworker.h \
    waitdialog.h

FORMS += \
    mainwindow.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
